package com.ksd.system.domain;

import com.ksd.common.annotation.Excel;
import com.ksd.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 播放器版本列表对象 sys_apk_version
 * 
 * @author y.wu
 * @date 2025-04-12
 */
public class SysApkVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    /** apk下载地址 */
    @Excel(name = "apk下载地址")
    private String url;
    private String cloudPath;
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    public String getCloudPath() {
        return cloudPath;
    }

    public void setCloudPath(String cloudPath) {
        this.cloudPath = cloudPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("url", getUrl())
            .append("remark", getRemark())
            .toString();
    }
}
